Method for transmitting data in a telecommunications network and switch for implementing said method

ABSTRACT

A method for transferring data from a first switch to a second switch selectively by line-switching or by packet-switching as well as to a switch for carrying out the method. Data packets are thereby first transferred packet-switched through a packet-switching network to the second switch. With the presence of a corresponding control signal a line-switching connection is established from the first switch to the second switch and the data are then transferred through this connection. Where applicable a renewed changeover to a packet-switching transfer is carried out. A flexible packet-switching or line-switching data transfer linked with dynamic costs between the junctions of a telecommunications network is enabled.

CROSS-REFERENCE TO RELATED APPLICATIONS AND CLAIM FOR PRIORITY

This application is a continuation of copending application Ser. No.11/456,549 filed Jul. 10, 2006, now U.S. Pat. No. 7,483,431, which is acontinuation of application Ser. No. 11/165,280 filed Jun. 22, 2005, nowU.S. Pat. No. 7,145,902, which is a division of application Ser. No.09/147,970 filed Mar. 23, 1999, now U.S. Pat. No. 6,954,453, which is aNational Stage Entry of International Application No. PCT/DE97/02363,filed Oct. 7, 1997.

BACKGROUND OF THE INVENTION

The invention relates to a method for transferring data from a firstswitch to a second switch selectively by line switching or by packetswitching, and to a switch for carrying out the method.

The present-day situation in telecommunications is marked by a divisionbetween two different connecting and switching technologies. These arethe synchronous line-switching technology (line-switching or circuitswitching) and asynchronous packet-switching technology(packet-switching).

Line-switching connections use line switches, alias line switchingequipment, between the individual line sections, each of which copiesover 1 byte packets and has a corresponding buffer size.Packet-switching connections use packet switches, alias packet switchingequipment, between the individual line sections of a network, each ofwhich copies over multi-byte packets. The buffer size of a packet switchcorrespondingly amounts to n bytes where n stands for the number ofbytes in the copied data packets. The term “switch” is used below sothat it includes both a line switch of a line switching network and apacket switch of a packet switching network.

A line switch, alias line switching equipment, is calledtelecommunications apparatus (TK apparatus) in the private sector, andexchanges of the network supplies in the public sector. A packet switch,alias packet switching apparatus, is also called a router, an IP switchor a host computer.

Line switching connections are synchronous, i.e., data transfer iscarried out substantially without any time delay from one line sectionto an adjoining line section through a switch (here, a line switchingapparatus).

When a line-switching call is put through, a connection is continuallyprovided in real time with the complete bandwidth of a channel betweentwo points. Even if no useful information is being sent e.g., during apause in telephone conversation, the transmission channel is occupied orengaged. Line-switching connections are expensive, particularly duringtelephone conversations since the costs accumulate irrespectively of theinformation actually transferred. The advantage of a line switchingconnection is that it is free of any time delay and has a fixedbandwidth.

The other important type of data exchange nowadays is the packetexchange. With packet exchange, data, e.g., audio data, video data orcomputer files, are packeted and transferred as data packets. Packetswitching works in the asynchronous transfer mode, i.e., data istransferred time-delayed between two adjoining line sections by a switch(here, a packet switching apparatus). In the case of packet-switchingexchanges, and quite differently from line-switching exchanges, a fixedconnection does not have to be maintained. It is connection-less, i.e.,each packet is treated individually and not in conjunction with others.

Packet switching is used in particular on the Internet. The data packetsare termed there as IP packets (IP=Internet Protocol). Each IP packetcontains a header which contains, inter alia, sender and receiveraddresses. The IP packets form a data flow which is transferred throughpacket switching apparatus (alias IP switches or Routers or Hostcomputers) in the Internet from the sender to the relevant receiver.

As a result of the length of the IP packets (16 bytes or more), a timedelay occurs in the packet switching apparatus when copying. This timedelay can be so great, when there is a heavy load on the packetswitching apparatus which passes a data packet over the route to thedestination address, that certain applications are no longer possible.

These delays are of considerable significance particularly in the caseof the Internet. With Internet telephony, a cost-conscious caller usesthe normal Internet with approximately 8 kbit/s bandwidth and a timedelay of 0.5 seconds. When the Internet is overloaded, the time delay ofthe individual packets becomes so great that an acceptable conversationconnection between telephone partners is no longer possible.

Internet telephony is marked by a great advantage that only the relevantlocal telephone charges to the next POP (Point of Presence), the accesspoint to the Internet offered by an Internet Service Provider ISP, aswell as time charges calculated by the ISPs for the length of theInternet access as well as volume charges, but not expensive longdistance telephone charges are incurred.

From U.S. Pat. No. 4,996,685 a method and device are known which allowin an ISDN communications network, during an existing connection betweena user and a host computer, a dynamic change between a line switchingconnection through an ISDN B channel and a packet-switching connectionthrough an ISDN D channel. A command to change between a line-switchingand a packet-switching connection thereby always emanates from the Hostcomputer.

The method disclosed in U.S. Pat. No. 4,996,685 is restricted toundertaking on an ISDN connection a change between a line-switching anda packet-switching data transfer whereby a line-switching transfer iscarried out on a B channel and a packet-switching transfer is carriedout on the D channel. A method of this kind is indeed expedient toproduce effective access from an end subscriber to a host computer,possibly an exchange point of the telephone network or an access pointto the internet, but does not relate to the transfer of data betweenswitches or routers of a network.

WO 95/31060 A1 describes a method for transferring data between aninformation source and a destination device wherein the data to betransferred are transferred as data packets. Depending on type ofinformation of the data packets, the data are transferred automaticallyeither solely by line-switching or solely by packet-switching. Moreparticularly in the case of small amounts of data to be transferred, apacket-switching transfer is chosen and in the case of large amounts ofdata, a line-switching data transfer is chosen.

WO 95/25407 A1 describes a method for transferring data between a datasource and transceiver either through a packet-switching network or aline-switching network. A control device is thereby provided which usescertain criteria to decide which network and which method of transfer isbest suited for the transfer and then selects same.

U.S. Pat. No. 4,903,260 describes a digital coupling network and acoupling field chip which are designed so that paths leading from anyinput to any output can, depending on requirements, either be switchedthrough for line-switching connections or can be preset forpacket-switching information. Preset paths for the packet-switchedinformation thereby form a network whose junctions lie in the couplingfield chip of the coupling network. Those function devices which arerequired to send each data packet on the path preset for same areintegrated in the coupling field chips. It is thus possible to divide upa single coupling network depending, on requirements, dynamically into aline-switching network and a packet-switching network.

SUMMARY OF THE INVENTION

Based on the prior art, the present invention is concerned with theproblem of providing a method for transferring data from a first switchto a second switch and providing a switching for carrying out the methodwhich, depending on the data origin and headers of a user or networkmanagement system, allows flexible data transfer between the switchesand more particularly cost-effective data transfer with real timeproperties.

The solution according to the present invention makes it possible duringpocket-switching connection between two switches to achieve a dynamicchange-over to line-switching connection without interrupting theconnection. This is always advisable if a data build up of data packetsexists before the switches of the packet-switching network. Through theestablishment of a line-switching connection between the switches, abypass is produced according to the invention on which data can betransferred with fixed bandwidth and slight time delays substantially inreal time so that the data blockage is bypassed. Since a line switchingconnection is established only when required, i.e., when apacket-switching data transfer no longer has the desired bandwidth, theinvention allows a flexible, most cost-effective data transfer.

The term “switch” is used in the sense of the present invention asalready explained so that it includes both a line-switch of aline-switching network which copies over 1-byte packets, and apacket-switch (router) of a packet-switching network which copies overmulti-byte packets. Data to be transferred can be any type of data, suchas audio data, video data or computer files.

The present invention provides for carrying out the method according tothe present invention, on switches which allow both line-switching andpacket-switching, and combine the functions of a line-switch and apacket-switch. A switch according to the present invention has apacketing device for packeting and unpacketing data, an IP switchingdevice for routing data packets, a line-switching device forestablishing connections for switching through data channels and acontrol device which directs incoming data either to the IP switchingdevice or to the line switching device depending on the control signals.

The corresponding control signals are triggered by a user, or at thecommand of a network management system and are transferred together withother signaling data to the switch. Alternatively, the switch itselfautomatically produces a corresponding control command upon exceeding acertain bandwidth of the packet-switching transfer.

The network which consists of interconnected switches according to thepresent invention forms an Intranet wherein data transfer can beinterchanged dynamically between line switching and packet switching andensures, under normal conditions, data transfer substantially in realtime through the possibility of establishing when required, aline-switching connection of a fixed bandwidth. This is particularlyimportant for internet telephony.

There are numerous useful areas for the switches according to thepresent invention. The switches according to the present invention caneven replace conventional line-switches such as TK equipment andexchanges as well as packet switches. More particularly they can be usedto build up new networks with real time capacity (intranets) which canoperate both by line-switching and by packet-switching.

The method according to the present invention is used in a firstembodiment of the invention between two switches which are part of aline-switching network, but not directly part of a packet-switchingnetwork. Therefore, for a packet-switching transfer, first a connectionis established through the line-switching network from a first switch toan access point to the packet-switching network (such as Internet accesspoint). The data are transferred line-switched to the access point tothe packet-switched network, where they are packeted if they do notalready exist as packets, and are transferred from the access pointpacket-switched through the packet-switching network to the secondswitch. The data are thereby preferably already packeted in the firstswitch and transferred as data packets line-switched to the accesspoint.

If both switches are part of both a line-switching network and apacket-switching network, then in a second embodiment of the methodaccording to the present invention, a packet-switched data transfer cantake place directly between the switches. With both embodiments, with apresence of a corresponding control signal, a line-switching connectionis built up through the line-switching network directly to the secondswitch. If there is no longer any need for a line-switching transfer,then a change back to a packet-switching transfer takes place.

In one embodiment of the method according to the present invention, thedata packets remain, after the change-over to a line-switching datatransfer, as data packets and are then transferred as such byline-switching. In an alternative embodiment, the data packets areunpacketed, more particularly the headers of the data packets areremoved, and only the data are then transferred by line-switching. Theadvantage of the first embodiment lies in the fact that if the data isonce again to be transferred over the packet-switching network, theyalready exist as data packets and therefore time is saved whenswitching. The advantage of the second embodiment is that by removingthe headers from the individual data packets, the effective bandwidth ofthe data transfer is increased.

In a preferred embodiment of the method according to the presentinvention, the same data channel is used for transferring the datapackets from the first switch to the access point to thepacket-switching network, and for transferring data from a first switchto the second switch through the line-switching network. This embodimenthas the advantage that only one data channel is constantly engagedwhich, depending on the type of transfer, transfers data either to theaccess point to the packet-switching network, or to the other switch.More particularly in the case of an ISDN network, the same B datachannel is used for both sending data to the access point to thepacket-switching network, and for sending data through a bypass toanother switch.

A data transfer from the first switch to the access point to thepacket-switching network always takes place by line-switching. Thuscompared with a packet-switching transfer to the access point (e.g.,through an ISDN D channel), which is also possible, a larger and fixedbandwidth is ensured up to the access point. If an ISDN network exists,then an ISDN B channel is used as the data channel. Data packets arethereby sent through the B channel by applying them to the ISDNframework. This is known per se and fixed in the PPP protocol.

In a further embodiment, two data channels are provided for datatransfer from a first switch, whereby through the first data channel thedata packets are transferred to the access point to the packet-switchingnetwork, and through the second data channel the data are transferred tothe second switch through line-switching. Depending on the type oftransfer, either the one data channel or the other data channel is used.This has the advantage that data can be transferred simultaneously bypacket-switching and line-switching. By way of example, less importantdata such as correspondence is transferred by packet-switching and audiodata is transferred by line-switching.

In a further preferred embodiment of the present invention, with aline-switching data transfer between the first switch and the secondswitch or between the first switch and the access point to thepacket-switching network, the data of several users are multiplexed on adata channel by forming sub-channels of fixed bandwidth. It is therebyprovided that the data of one user are transferred after its selectionby line-switching with a transfer rate which corresponds to only afraction of the transfer rate of the bandwidth which is available asstandard to the user.

More particularly with an ISDN network on the B channels sub channels ofa bandwidth of 32, 16, 8, 4, 2 or 1 kbit/s are available. To implementthe sub-channels, only each n-th byte or each n-th bit of an ISDN frameis copied over immediately and forwarded on the data channel to the nextswitch or to the computer network access point.

The formation of sub-channels on a data channel, possibly an ISDN Bchannel or a data channel of the GSM mobile phone system, allowsadditional flexibility for the data transfer. In many cases, it isentirely adequate that the bandwidth only uses up a part of thebandwidth which is available on a data channel. The use of thesub-channel thereby has an advantage for the user that according to thebandwidth of the sub-channel, lower costs are incurred but a fixedbandwidth is still available. Sub-channels of different bandwidththereby define different service quality.

Thus a packet-switching transfer, a line-switching transfer with a partof the available bandwidth of a data channel, and a line-switchingtransfer with the complete bandwidth of the data channel are availableas alternatives.

In a further development of the method according to the presentinvention, with a change from a packet-switching transfer to aline-switching transfer, the address information of the data packets areevaluated and sorted according to network topology. Thus for each datapacket whose destination addresses relate to the same topological areaof the network, a switch located in this area is selected, aline-switching connection (bypass) is established to the selected switchand the corresponding data or data packets are transferred to the switchby line-switching.

A classification of the data packets is thereby preferably carried outaccording to geographical points of view, whereby, for data packetswhose destination address relate to the same geographical area, a switchlocated in this geographical area is selected and a line-switchingconnection is established to this switch. This allows a bypass to beeffectively established since for data packets with roughly the samedestination, a line-switching connection is established directly to anetwork junction which lies, regarding network topology, in thedestination area of the data packets. The establishment of an effectivebypass between the individual switches has great importance in the caseof packet-switching networks since a data packet can run on the way fromBerlin to Munich via Paris and New York. By bringing together all datapackets intended for Munich and transferring these data packets byline-switching directly from Berlin to Munich, it is possible to providea more effective data transfer.

For classifying data packets according to geographical points of view,it is preferable to compare the destination address with destinationaddresses stored in a data bank whereby the data bank contains a linkbetween the destination addresses and the associated geographicalposition. The data bank is thereby preferably integrated in the switch.If the data packets are IP data packets, then the relevant IP addressesare consulted in the data bank and assigned to a certain bypassdepending on the geographical destination.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows diagrammatically a telecommunications network according tothe invention;

FIG. 2 shows diagrammatically a telecommunications network known in theprior art;

FIG. 3 is a diagrammatic illustration of a telecommunications network inwhich switches according to the invention form an Intranet;

FIG. 4 shows diagrammatically a switch according to the invention;

FIG. 5 a shows a flow chart of the method according to the invention fortransferring data between two switches; and

FIG. 5 b shows diagrammatically a flow chart for the method according tothe invention for selecting a destination switch through topologicalpoints of view.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 2 shows a conventional telecommunications network. Data terminalssuch as telephone 1 or personal computer 2 are connected to an exchange4 of the telephone network directly or by means of a telecommunicationsapparatus (TK-apparatus) 3 through an ISDN/POTS line. Where applicable,a local network LAN 5 is connected to the TK-apparatus 3. The exchanges4 pass on incoming connection requests and provide line-switchingconnections. Entry to a packet-switching network is possible through anaccess point POP (Point of Presence) 6. Data are transferred betweeninterlinked packet switches 10 by packet-switching through thepacket-switching network.

The internet will now be considered as packet-switching network withoutrestricting the present invention. Indeed any packet-switching networkcould be used such as mobile phone networks within the scope of thepresent invention.

The technologies used are known per se. The data transfer betweenterminals 1 and 2 and a line-switch (TK apparatus 3 or the exchange 4)takes place line-oriented, and similarly the data transfer between theindividual line switches (such as between the individual exchanges 4 andthe POP 6 of the Internet Service Providers IPS). The lines are switchedthrough via coupling fields which are produced in the exchange and inthe TK-apparatus.

The PCM 30 System is particularly wide spread in ISDN networks wherein 8Bit codewords for each 30 useful channels within a scanning period of125 .mu.s are multiplexed and sent in one pulse frame. However, nomultiplexing takes place on a single channel. The pulse frame istransferred in constant repetition between sender and receiver even ifno useful signals are contained. In the digital coupling field,individual bytes are copied and then sent (switch of 1-byte-packet).Since during the exchange process only one byte is read into a memoryeach time and then read out again, only a minimal time delay occurs whenexchanging the connecting path.

From the access point POP 6 to the Internet, the transfer of data isstill only carried out packet-switched on the basis of the known networkprotocol UDP/IP or TCP/IP. Access to the Internet is brought about by apacket switch (hereinafter also called IP Switch) which receives datapackets which are not intended for itself and passes them on to theparty network whose address they support. During routing, copying of theIP packets is carried out (switch of multi-byte packets). Time delaysthereby occur in the packet-switching network according to the size ofthe IP packet and the number of routers passing on an IP-packet. Thesetime delays can assume such proportions in the event of overloading theIP switches 10 that in the case of the Internet telephony, delays ofmore than 0.5 s may occur.

FIG. 1 shows a telecommunications network according to the presentinvention with switches 7 a and 7 b according to the present inventionwhich are shown as starred and are described in detail in FIG. 3. Theswitches 7 a and 7 b integrate the functions of a packet switch and aline switch.

The important factor is therefore the possibility of dynamicallyswitching between packet-switching and line-switching during onetransfer, as will be described in further detail below. It is therebypossible to change over, when desired, from an asynchronouspacket-switching transfer of variable bandwidth to a synchronousline-switching transfer of greater and fixed bandwidth. Internettelephony and downloading of files from a WWW server are two importantuses.

The implementation of the switches 7 a and 7 b takes place selectivelythrough hardware or software. The line switching, is thereby preferablyimplemented by hardware and the packet-switching by software. Thus withline switching, after switching through a connection the data areforwarded without further examination, whilst with packet switching thedestination addresses of each data packet is evaluated and the next IPswitch has to be selected from the routing tables. A switching devicefor the switches 7 a and 7 b which undertakes a change over betweenpacket and line-switching is preferably likewise implemented assoftware.

The switches 7 a and 7 b can be mounted according to FIG. 1 at differentpoints in the telecommunications network. The switch 7 a represents aservice access module for connecting the LANs or end terminals 1 and 2to the ISDN/PSTN network and internet. On the user side, the switch 7 ahas an ethernet interface for a LAN connection, a printer interface andinterfaces for connecting telephones (radio telephones, ISDN telephones,analog telephones)—not shown. The switch 7 a is connected to an exchangepoint 4 of the telephone network through a line 8.

Since the switch 7 a is not a part of the internet, it is necessary forthe packet-switching transfer of data through the internet to first makea connection with the access point POP 6. This can be carried outthrough the exchange point 4 or even through a standing line 9 to thePOP 6. The data are transferred line-switched up to the POP 6 and arepreferably already packeted. If a change to line-switching data transferis to take place, then a line to another switch is switched through theexchange 4 and the data are transferred to this by line-switching. Theswitch 7 a thus routes the IP switched/line-switched channels to theline 8 controlled by same so that they are more cost-effective or morereal time depending on the wishes of the user or provider of thechannels.

The switch 7 b is integrated in the internet and connected to further IPswitches 11 and/or line switches 12. Ideally the network still onlyconsists of switches 7 b which allow both line switching and packetswitching, so that with each switch 7 b there is the possibility wherenecessary of providing a higher quality line-switching transfer insteadof a packet-switching transfer. A line-switched transfer is therebyestablished as bypass, more particularly between switches where a datablockage builds up.

FIG. 3 shows a telecommunications network wherein switches 7 which allowa data transfer selectively by packet switching or by line switchingform an Intranet within the internet. A real time communicationspossibility is thereby present between the switches 7. So that this isalways possible, additional real time communications channels existbetween the switches 7. These are additional ISDN/PSTN connections oradditional Intranet channels. A line switching connection (bypass)between the switches 7 can thus arise not only through the telephonenetwork, but also through separate channels.

FIG. 4 shows diagrammatically the establishment of a switch 7 accordingto the present invention. The switch 7 is part of both apacket-switching network (internet) and a line-switching network(telephone network), i.e., it is connected through lines to furthernetwork junctions to which it can transfer or receive line-switched orpacket-switched data. Data coming in through a data input 74 can haveany source, more particularly come from an IP switch/router, aline-switch such as an exchange point or a telecommunications unit, froma LAN or from an end terminal 1 or 2. The data input 74 has for thispurpose, in a known way, an ethernet interface, an analog interface withA/D converter and an ISDN interface. In addition where applicable, anATM interface and an interface with a mobile phone network can also beprovided. The ISDN networks are with incoming data of 8 bit long wordswhich arrive on a multiplexed supply line of the switch 7.

The switch 7 has a known IP switch 72 which copies over incoming IPpackets (switch of multi-byte packets) and forwards them in the internetto suitable switches according to the address of the packets. Theserelate to the known internet protocol UDP/IP and TCP/IP. A datacompression device 721 is integrated as an option in the IP switch 72.For data compression, a reference is made to the internationalcompression standards developed for individual communications, moreparticularly the compression process according to ITU standard G. 72 X.Furthermore, a coding device 722 for coding data packets can be providedas an option.

Furthermore, the switch 7 has a line switching device 73. This has adigital coupling 731 which is known per se for switching throughtelephone conversation channels of the line-switching network, and amultiplex/demultiplex device 732 which produces sub-channels on existingdata channels, as will be described in further detail below.

The internal control commands, as to whether a packet switching is totake place through the IP switch or a line switching is to take placethrough the line switching device 73, are produced in a control device71. The device 71 is substantially a switch which forwards the incomingdata either as data packets to the IP switch 72 or as bit flow to theline switching device 73. To this end, the control information of theincoming data are evaluated. The change-over control unit 711 monitorsand controls which open connections are present (i.e., which and howmany data channels are connected) and which bandwidth the individualdata channels require.

In detail the control device 71 has a change-over control unit 711, twopacketing/unpacketing devices 713 and 714, and an intermediate register712. The change-over control unit is connected to a topography data bank75 which contains geographical data for a number of IP addresses.

If the incoming data are IP packets, then the headers of the IP packetsare evaluated by the change-over control unit 10 711. If the incomingdata are a continuous data stream, then the signaling information of thesignaling channel (in band signaling or outband signaling) are evaluatedby the change-over control unit 711. The basic state thereby providesthat the incoming data are sent into the internet through the IP switch72. If the incoming data do not yet exist as IP packets then they arepacketed into corresponding IF packets in the packeting/unpacketingdevice 714 and sent to the IF switch.

If the data exist as IP packets but are to be transferred line-switchedthrough the line-switching device 73 then the data are, whereapplicable, unpacketed in the packeting/unpacketing device 713. Moreparticularly the headers, of the data packets are removed. Unpacketingis optional however and not absolutely necessary since data 25 packetscan be transferred line-switched where applicable according to the FPPprotocol. The (packeted or non-packeted) data are transferred as bitstream to the line switching device 73 by the change-over control unit711.

Through a control command which is sent by an end terminal or anotherswitch and for example triggered by a user by pressing a certain buttonon the terminal or by the network management system, the type ofcommunication is switched over to line-oriented or packet-orientedcommunication.

A corresponding signaling command for changing between packet and lineswitching is, for example, represented by a certain bit sequence whereinthe control unit 71 stores the detailed incoming data in an intermediateregister 712 and compares it with stored bit sequences. If a certain bitsequence exists, then a change over to a different type of switching iscarried out. Alternatively, it can also be possible for the change-overcontrol device 711 to monitor the bandwidth of a transfer and onunderstepping or exceeding a certain bandwidth and/or in the event of atime delay when forwarding IP data packets to automatically release acontrol command to change over to the relevant other type of transfer.

To change from packet switching to line switching, first at the commandof the control unit 71, a connection is made via the line-switching unit73 (bypass) with another switch (destination switch). To this end, theISDN signaling command SETUP is sent to the next exchange point. Afterthe connection is established, all the incoming data of thecommunications connection considered are no longer directed through theIP-switch 72 but through the line-switching unit 73. The data are nowtransferred by line-switching with fixed bandwidth through theestablished bypass to the other switch.

The change-over control unit 711 thereby checks, within the scope of thechange-over process and prior to sending the data to the device 73,whether they are IP packets and whether unpacketing is to take place inthe packeting/unpacketing device 713. The decision on this is madedependent on control signals of the network management system or the endterminal or alternatively by the change-over control unit 711 itselfdependent on the data arrival. The control signals here containcorresponding transfer parameters. In each case, the data after beingsent to the device 73 are then exposed in the coupling field 731 to anISDN data frame.

To establish the most effective line-switching connection possible, itis important to select a suitable destination switch where the bypass isestablished. To this end, a switch is selected as destination switchwhich lies in a geographical area which coincides with the destinationaddress of numerous IP packets. Then in particular, these IP packets aretransferred through the bypass to the corresponding destination switchso that the data packets still only have a short transfer path from thedestination switch to the final destination.

The classification of the IP packets and selection of a correspondingdestination switch takes place by means of the topology data bank 75which contains a geographical link between a number of IP addresses andtheir geographical position. In the line switching device 73, the IPdestination address of each packet is compared with the addresses storedin the data bank 75 and in the event of a successful association of theIP address, this is given a code. This can be a number whichcharacterizes a certain geographical region. This code is recognized bythe coupling field 731 and the data packet is then switched through tothe corresponding destination switch.

Since it would result in too much time delay to interrogate the databank 75 for each data packet, the change-over control unit 711 containsa cache which can be quickly accessed and in which the result of thelast data bank inquiry is stored. If the IP address of a data packetarriving through the data input 74 is stored in the cache, then thecorresponding code can be quickly given.

If the IP address is not contained in the cache, then a data bankinquiry is carried out, and the IP packets are directed onto the IPswitch 72 until the result of the data bank inquiry is provided. Onlythen is a change-over made for this data to a line-switching transferthrough a bypass. It is thereby possible that several bypasses todifferent destination switches exist at the same time whereby the changeover control unit 711 controls the coupling field 731 so that the datapackets are each time sent to the destination switch which is mostfavorable from the network topological point of view. The change-overcontrol unit 711 thus informs the coupling field 731 of which data is tobe sent to which destination switch.

If the destination address of a data packet is not contained in the databank 75, then those intermediate junctions of the packet-switchingnetwork are checked to be fully functioning which are normally runthrough when sending data packets with a certain destination address. Tothis end, the corresponding data are exchanged between the individualnetwork junctions in known way by trace routing. At the appropriateintermediate junctions, i.e., the intermediate junctions with lowfunctioning output, it is determined whether the ISDN number is knownand this is requested where applicable. The change-over control unit 711of the data bank 75 is thereby operated in the manner already described.A bypass is then established from the change-over control unit 711 to aswitch which lies in the chain of switches as close as possible to thedestination switch.

The multiplex/demultiplex device 732 of the line-switching device 73allows, depending on the control commands of the change-over controlunit 711, a line-switching transfer to sub-channels with a bandwidthwhich corresponds to a fraction of the usual bandwidth of a data channelconsidered. Data channels are thereby bundled which are formed ordetermined in the coupling field 731 according to the control commandsof the change-over control unit 711. A time multiplex channel of the PCM30 system is considered as ISDN data frame which has information of 30data channels and two signal channels. The bandwidth of the datachannels each amounts to 64 kbit/s.

The multiplex/demultiplex device 732 allows a multiplexing inside eachof the 30 data channels of the time multiplex channel. To this end, twomethods are alternatively used. In a first method only a part of the 8bit of a PCM Word is switched through each other, thus 1, 2 or 4 bits.The bandwidth is reduced accordingly to 8, 16 or 32 kbit/s. The data ofseveral channels are in this way multiplexed on one data channel.

Alternatively a PCM word (byte) of the time multiplex channel of the PCM30 system is not switched through in each of the successive pulseframes, but only in each n-th pulse frame whereby the bandwidth isreduced to 64/n kbit/s.

The two multiplex methods described can also be combined. By way ofexample, one bandwidth of 1 kbit/s is produced for one data channel inthat each eight bit in each eighth frame of the ongoing data channelstems from the data channel considered.

The switching through in the line switching device 731 takes place,depending on the selected data rate, and in the case of transfer ratesper data channel unequal to 64 kbit/s, includes themultiplex/demultiplex device 732. If no multiplexing takes place on adata channel, then the data are passed by the multiplex/demultiplexdevice 732.

For the channel or sub-channel considered, a line-switching transfertakes place to the switch which represents the other side of theline-switching connection until a control command again reaches thedevice 71 to switch over again to packet-switching. This command is inturn coded by a certain bit sequence or is produced automatically. Thenthrough the control device, the switched-through line is broken off andthe incoming data are then again directed to the IP switch 72.

FIGS. 5 a and 5 b show the method sequence. FIG. 5 a shows the course ofthe method when changing from a packet-switching data transfer to aline-switching data transfer between two switches. With the presence ofa corresponding control signal, a line-switching connection is set up toanother switch and the data sent by line-switching.

If a line-switching data transfer is to take place to sub-channels offixed bandwidth then a multiplexer/demultiplexer is activated whichmultiplexes several data streams so that each time only every nth bitand/or every nth byte is reserved in the outgoing data stream for anincoming data stream. It can thereby be provided that the individualsub-channels have a different bandwidth, i.e., the different input datastreams have different proportions in the outgoing data stream. With thepresence of a further control signal, a change back to apacket-switching transfer is undertaken.

FIG. 5 b shows the selection of a suitable switch when establishing abypass. To this end, the headers of the IP data packets are comparedwith the information of a data bank. If the header information isassociated with a certain geographical destination, then the bypass isestablished to a switch mounted in this geographical area. If the headerinformation is not associated with a certain geographical destination,then as described above, a bypass is made to an intermediate junctionwhere the data packets pass through in the normal case. Whereapplicable, the switch has numerous bypasses to different switcheswherein each time only data packets with the same or similar topologicaldestination features are transferred to the individual switches withinthe frame of the bypass.

The present invention is not restricted in its design to the embodimentsgiven above. Rather a number of variations are possible which make useof the invention even in fundamentally different types of designs.

1. Switching apparatus for selectively routing data of a data transferto be transferred between a first end terminal and a second end terminalby switching the data originating from said first end terminal to eithera packet switching network or a line switching network, the apparatuscomprising: a) a device for providing access to a packet switchingnetwork through which data originating from said first end terminal canbe sent to a switch for delivery to said second end terminal; b) adevice for establishing a line-switched connection through a lineswitching network through which data originating from said first endterminal can be sent to said switch for delivery to said second endterminal; and c) a control device for selectively routing said dataoriginating from said first end terminal by packet switching throughsaid packet switching network or by line switching through said lineswitching network, wherein (i) said control device is operable tomonitor the data transfer of the data originating from said first endterminal and sent by the device providing access to said packetswitching network for delivery to said second end terminal; (ii) saidcontrol device is operable to determine whether a real timecommunications possibility is maintained by the data transfer of thedata originating from said first end terminal to be sent by the deviceproviding access to said packet switching network for delivery to saidsecond end terminal; (iii) said control device is capable of causingsaid device for establishing a line-switched connection to establish aline-switched connection through the line switching network and to routethe data transfer of the data originating from said first end terminalthrough the line-switched connection where said control devicedetermines that a real time communications possibility may not bemaintained by the data transfer of the data originating from said firstend terminal to be sent by the device providing access to a packetswitching network for delivery to said second end terminal; and (iv)said control device is capable of maintaining a real time communicationspossibility for the data originating from said first end terminal fordelivery to said second end terminal where said control device causessaid device for establishing a line-switched connection to establish aline-switched connection through the line switching network and to routethe data transfer of the data originating from said first end terminalthrough the line-switched connection.
 2. Switching apparatus as setforth in claim 1, wherein data originating from said first end terminalis data of a telephone call.
 3. Switching apparatus as set forth inclaim 2, wherein said data of a telephone call is voice data.
 4. Amobile communication device, comprising switching apparatus as set forthin claim
 1. 5. Apparatus for routing data of a voice telephone call,comprising: a) an input device for receiving data of a voice telephonecall from a first end terminal; b) an IP switch for forwarding said datato a packet switching network for packet-oriented communication to asecond end terminal, c) a line switch for forwarding said data to a lineswitching network for line-oriented communication to said second endterminal; and d) a control device for selectively routing said data of avoice telephone call to said IP switch or said line switch; said controldevice being operable to (i) monitor the bandwidth of an existingtransfer of data comprising said voice telephone call; (ii) change overthe routing of said existing transfer from said IP switch to said lineswitch during said existing transfer when said bandwidth understeps orexceeds a certain bandwidth; and (iii) change over the routing of saidexisting transfer from said IP switch to said line switch withoutinterrupting said voice telephone call.
 6. Apparatus as set forth inclaim 5, wherein said data of a voice telephone call comprises voicedata.
 7. A mobile communication device, comprising switching apparatusas set forth in claim 5.